package com.alibaba.algo.cooperation.feign.vo.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName: AddOrUpdateCurrentOrgVO
 * @Description:
 * @Author: wugongzi
 * @Date: 2021/12/20 14:59
 * @Version: 1.0
 */
@Data
public class AddOrUpdateCurrentOrgVO extends CurrentUserReqVO{

    /**
     * 组织Id
     */
    @NotNull(message = "组织Id为空")
    private Long orgId;
    /**
     * 组织code
     */
    @NotBlank(message = "组织code为空")
    private String orgCode;
    /**
     * 组织名称
     */
    @NotBlank(message = "组织名称为空")
    private String orgName;
}
